package com.yanfan.energy.domain;

import com.yanfan.iot.domain.Device;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 车间表(Workshop)实体类
 *
 * @author makejava
 * @since 2022-09-26 13:49:22
 */
public class Workshop implements Serializable {
    private static final long serialVersionUID = 618357306871248772L;

    private Integer id;
    /**
     * 厂区外键
     */
    private Integer plantId;
    /**
     * 车间名称
     */
    private String shopName;
    /**
     * 车间类型（0、喷砂间；1、涂装车间）
     */
    private Integer workshopType;
    /**
     * 创建人
     */
    private String createdBy;
    /**
     * 创建时间
     */
    private Date createdDate;
    /**
     * 最后修改时间
     */
    private Date lastModifiedDate;
    /**
     * 楼栋ID
     */
    private Integer buildingId;

    private List<WorkshopEnvironment> workshopEnvironment;

    private List<Device> iotDevices;

    private String shopCode;
    /**
     * 楼层ID
     *
     * @author caijinkang
     * @date 2023/4/17 10:29
     * @param null
     * @return null
     */
    private Integer floorId;

    /**
     * 车间-部门关系 配置类型
     */
    private Integer type;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPlantId() {
        return plantId;
    }

    public void setPlantId(Integer plantId) {
        this.plantId = plantId;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getWorkshopType() {
        return workshopType;
    }

    public void setWorkshopType(Integer workshopType) {
        this.workshopType = workshopType;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public Date getLastModifiedDate() {
        return lastModifiedDate;
    }

    public void setLastModifiedDate(Date lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Integer getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Integer buildingId) {
        this.buildingId = buildingId;
    }

    public List<WorkshopEnvironment> getWorkshopEnvironment() {
        return workshopEnvironment;
    }

    public void setWorkshopEnvironment(List<WorkshopEnvironment> workshopEnvironment) {
        this.workshopEnvironment = workshopEnvironment;
    }

    public List<Device> getIotDevices() {
        return iotDevices;
    }

    public void setIotDevices(List<Device> iotDevices) {
        this.iotDevices = iotDevices;
    }

    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public Integer getFloorId() {
        return floorId;
    }

    public void setFloorId(Integer floorId) {
        this.floorId = floorId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}

